home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / domefrag.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  100 lines

  1. // defines the fragmented dome in city ruins
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_dome_FRAG_GSH
  8. #define INCLUDED_dome_FRAG_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. shape Shp_domebust
  15. {
  16.     file "objects\domebust.rif"
  17.     name "domebust"
  18. }
  19.  
  20. role Rol_domebust : Rol_PlacedObject
  21. {
  22.     shape        Shp_domebust
  23.     identifier    "domebust"
  24. }
  25.  
  26.  
  27.  
  28. hierarchy Hcy_domefragb
  29. {
  30.     file        "objects\domefrag b.rif"
  31.     name        "domefragb"
  32.     hotspot         none
  33. }
  34.  
  35. role Rol_domefragb : Rol_FragObject
  36. {
  37.     shape        Hcy_domefragb
  38.     identifier    "domefragb"
  39.     frag control    yes
  40.     hit test ignore yes
  41. }
  42.  
  43.  
  44.  
  45. frag data Frg_domefragb
  46. {
  47.     role         Rol_domefragb
  48.     replace role    Rol_domebust
  49.     replace        yes
  50.     scale         10
  51.     symmetric        no
  52. }
  53.  
  54.  
  55. shape Shp_domehalfleft
  56. {
  57.     file "objects\dome halfleft.rif"
  58.     name "dome halfleft"
  59. }
  60.  
  61. role Rol_domehalfleft : Rol_PlacedObject
  62. {
  63.     shape        Shp_domehalfleft
  64.     identifier    "domehalfleft"
  65.     destructibility     Frg_domefragb
  66.     ai        blocker
  67.     armour         0
  68. }
  69.  
  70. hierarchy Hcy_domefraga
  71. {
  72.     file        "objects\domefrag a.rif"
  73.     name        "domefraga"
  74.     hotspot         none
  75. }
  76.  
  77. role Rol_domefraga : Rol_FragObject
  78. {
  79.     shape        Hcy_domefraga
  80.     identifier    "domefraga"
  81.     frag control    yes
  82. }
  83.  
  84.  
  85.  
  86. frag data Frg_domefraga
  87. {
  88.     role         Rol_domefraga
  89.     replace role    Rol_domehalfleft
  90.     replace        yes
  91.     scale         10
  92.     symmetric        no
  93. }
  94.  
  95.  
  96. ////////////////////////////////////////////////////////////////////////////////////
  97.  
  98. // end wrapper - for preventing multiple or recursive inclusions
  99. #endif // !INCLUDED_DOME_FRAG_GSH
  100.